package br.usp.ime.dojo.core.repositories;

import br.usp.ime.dojo.core.entities.User;
import br.usp.ime.dojo.core.exceptions.DuplicatedUserException;

public interface UserRepository {
	void add(User u) throws DuplicatedUserException;
	User get(String name);
	void clearAll();
	int count();
}
